OBJECTLOOP

 

Description

An object loop is a custom loop that allows you to loop thru any table in the OIPA database. There are three required configuration lines to an object loop.

  1. Configure a MathLoop that is TYPE=”r;OBJECTLOOP”

  2. Configure a MathVariable that is TYPE=”r;OBJECT”

  3. Configure a MathVariable that is TYPE=”r;OBJECTFIELD”

 

OBJECTLOOP Element/Attribute Table

TYPE=OBJECTLOOP

Element

Attributes

Attribute Value

Element Value

Definition

<MathLoop>

TYPE

OBJECTLOOP

Configuration for OBJECT and OBJECTFIELD

 

OBJECTNAME

Name of the object on which the loop will occur.

 

This is the OIPA table that is being used for the loop without the As, for example Client should be used for AsClient.

KEY

The unique column name

 

 

CONDITION

String value, such as ”r;TYPECODE=02”

 

Allows for the filtering of what keys are returned in the array

 

XML Example

<MathLoop VARIABLENAME="ClientLoop" TYPE="OBJECTLOOP" OBJECTNAME="Client" CONDITION=”r;TypeCode=’r;02'" KEY="ClientGUID">

</MathLoop>